/**
 * 新闻资讯
 */
import { request } from '@/utils/request'

/* 分页列表 */
export function list(params, success) {
	request({
		url: '/api.app/v1/information/find-page-show-list',
		params: params
	}, function(data, total) {
		success && success(data, total)
	})
}

/* 详情 */
export function detail(params, success) {
	request({
		url: '/api.app/v1/information/getDetail',
		params: params
	}, function(data) {
		success && success(data)
	})
}